{% extends 'KeioStudyBundle:Theme:login.html.twig' %}

{% block content %}

	<div id="box">
		<div class="elements">
			<div class="avatar">
			</div>
			<form action="{{ path('login_check') }}" method="post">
				<input type="text" id="username" name="_username" value="{{ last_username }}" class="username" placeholder="Username" />
				<input type="password" id="password" name="_password" class="password" placeholder="•••••••••" />
				<div class="forget">
					{% if error %}
					    <div>
					    	<font style="color:red">{{ error.message }}</font>
					    </div>
					{% endif %}
					<a href="#">Forgot your password?</a>
				</div>
					<div class="checkbox">
						<input id="check" name="checkbox" type="checkbox" value="1" />
						<label for="check">Remember?</label>
					</div>
				<div class="remember">Remember?</div>
					<input type="submit" name="submit" class="submit" value="Sign In" />
			</form>
		</div>
	</div>
	<div class="signup">
		Not a registered user yet?  <a href="{{ path('member_register') }}">Sign up now!</a>
	</div>

{% endblock %}